﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="left.aspx.cs" Inherits="Basic4Net.OAWeb.Module_Base.left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link type="text/css" rel="stylesheet" href="../App_Themes/ui-lightness/main.css" />
    <script type="text/javascript" src="../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="../Scripts/Common.js"></script>
    
       <script type="text/javascript">

           function leftNav(url, selItemIndex) {
               for (i = 1; i < 88; i++) {
                   var obj = document.getElementById("item" + i);
                   if (obj != null) {
                       document.getElementById("item" + i).className = "";
                   }
               }

               document.getElementById("item" + selItemIndex).className = "active";
               parent.frames["mainFrame"].location = url;
           }

           var current = null;

//           function leftNav1(url, selItemIndex) {
//               if (current != null) {
//                   current.className = "";
//               }
//               current = document.getElementById("item" + selItemIndex);
//               document.getElementById("item" + selItemIndex).className = "active";

//               parent.frames["mainFrame"].location = url;
//           }

           function show(txt) {
               var obj = document.getElementById("item" + txt);

               if (obj.style.display == "none") {

                   obj.style.display = "";
               }
               else {

                   obj.style.display = "none";
               }

           }

//           function GetPermit(userid) {
//               PageMethods.ExistPermit(userid, 1, 
//               function (succ) {
//                   if (succ) {
//                       return true;
//                   }
//                   else {
//                       showMassgeBox("提示", "您没有足够的权限访问《基础数据管理》！", 1, null);
//                       return false;
//                   }
//               }, 
//               function (err) {
//                   showMassgeBox("提示", "访问失败", 1, null);
//                   return false;
//               })
//           }
    </script>
</head>

<body scroll="no">
    <form id="form1" runat="server">
    <div class="leftWarp">
	<div class="menuBody">
	    <div class="menuList">
	        <h2>系 统 菜 单</h2>
	        <dl>
                <dd id="SubMenu1">
                	<ul>
                	    <li id="item1">
                            <a href="#" onclick="show(11);show(12);"  title="" onfocus="this.blur()"><img src="../App_Themes/ui-lightness/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;教工分类管理</a>
                        </li>
                            <li id="item11" style="display:none"><a style="text-indent:70px" 
                                href="javascript:leftNav('TeacherType.aspx',11)" title="" onfocus="this.blur()">新建教工分类</a></li>
                            <li id="item12" style="display:none"><a style="text-indent:70px" 
                                href="javascript:leftNav('TeacherTypeList.aspx',12)" title="" onfocus="this.blur()">教工分类列表</a></li>
                        <li id="item2"><a href="javascript:leftNav('SubFactorPage.aspx',2)" title="" onfocus="this.blur()"><img src="../App_Themes/ui-lightness/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;学科系数管理</a></li>

                        <li id="item3">
                            <a href="#" onclick="show(31);show(32);"  title="" onfocus="this.blur()"><img src="../App_Themes/ui-lightness/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;职称分类管理</a>
                        </li>
                            <li id="item31" style="display:none"><a style="text-indent:50px" href="javascript:leftNav('WorkTitleAndRate.aspx',31)" title="" onfocus="this.blur()">&nbsp;&nbsp;职称分类及系数管理</a></li>
                            <li id="item32" style="display:none"><a style="text-indent:50px" href="javascript:leftNav('WorkTitleAndTeacher.aspx',32)" title="" onfocus="this.blur()">&nbsp;&nbsp;职称与教工关系管理</a></li>
                        
                        <li id="item4">
                            <a href="#" onclick="show(41);show(42);"  title="" onfocus="this.blur()"><img src="../App_Themes/ui-lightness/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;固定工作量管理</a>
                        </li>
                            <li id="item41" style="display:none"><a style="text-indent:70px" 
                                href="javascript:leftNav('FixedWordLoadSet.aspx',41)" title="" onfocus="this.blur()">岗位管理</a></li>
                            <li id="item42" style="display:none"><a style="text-indent:70px" 
                                href="javascript:leftNav('TeachPostRelation.aspx',42)" title="" onfocus="this.blur()">教工岗位关系管理</a></li>
                       
                        <li id="item6"><a href="javascript:leftNav('UnFixedWordLoadSet.aspx.aspx',6)" title="" onfocus="this.blur()"><img src="../App_Themes/ui-lightness/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;不固定工作量管理</a></li>
                        <li id="item7">
                            <a href="#" onclick="show(71);show(72);"  title="" onfocus="this.blur()"><img src="../App_Themes/ui-lightness/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;评奖分类管理</a>
                        </li>
                            <li id="item71" style="display:none"><a style="text-indent:70px" 
                                href="javascript:leftNav('AppraisePage.aspx',71)" title="" onfocus="this.blur()">新建评奖分类</a></li>
                            <li id="item72" style="display:none"><a style="text-indent:70px" 
                                href="javascript:leftNav('AppraiseListPage.aspx',72)" title="" onfocus="this.blur()">评奖分类列表</a></li>
                                <%if ( GetPermit())
                                  {%>
                        <li id="item8"><a href="javascript:leftNav('PermitPage.aspx',8)" title="" onfocus="this.blur()"><img src="../App_Themes/ui-lightness/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;系统权限管理</a></li>
                        <%} %>
                    </ul>
                 </dd>
             </dl>
	    </div>
    	
    </div>  
</div>
    </form>
</body>
</html>
